package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Userinfo;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IUserinfoService {
    int saveOrUpdate(Userinfo record);

    Userinfo selectByPrimaryKey(Long id);

    List<Userinfo> selectAll();

    PageResult query(QueryObject qo);

    /**
     * 审核操作
     * @param id
     */
    void audit(Long id);

    List<Userinfo> queryByStudentName(String studentName);

    void deleteByStudentId(Long id);
}
